<template>
  <div>
    <img src="../assets/logo.png">
    <h1>新闻智能展示平台</h1>

    <div>
      <el-button @click="goPage('/TypeManger')">分类管理</el-button>
      <el-button @click="goPage('/NewsManger')">新闻管理</el-button>
    </div>
  </div>
</template>

<script>
  export default{
    methods:{
      goPage(url){
        this.$router.push(url);
      }
    }
  }
</script>

<style>
</style>
